const getSearchInputConfig = (cityList) => {
    return [
        {
            type: 'select',
            placeholder: '请选择城市',
            name: 'cityCode',
            label: '城市',
            optionData: cityList,
            nameFiled: 'cityName',
            valueFiled: 'cityCode',
            selectProps: {
                allowClear: true,
                optionFilterProp: 'children',
                showSearch: true
            }
        },
        {
            type: 'select',
            placeholder: '请选择卡类型',
            optionData: [{ value: '0', name: '社保卡' }, { value: '1', name: '公积金卡' }],
            name: 'type',
            label: '卡类型',
            initialValue: '0',
            selectProps: {
                allowClear: true,
            }
        },
        {
            type: 'input',
            placeholder: '请输入登录账号',
            name: 'account',
            label: '登录账号',
        },
        {
            type: 'input',
            placeholder: '请输入登录密码',
            name: 'password',
            label: '登录密码',
        },
        {
            type: 'input',
            placeholder: '请输入证件号',
            name: 'cardNo',
            label: '证件号'
        },
        {
            type: 'input',
            placeholder: '请输入个人编号',
            name: 'regNumber',
            label: '个人编号'
        },
        {
            type: 'input',
            placeholder: '请输入姓名',
            name: 'name',
            label: '姓名'
        },
        {
            type: 'input',
            placeholder: '请输入身份证号',
            name: 'bodyCode',
            label: '身份证号',
        }
    ]
};
const getTableConfig = () => {
    return [
        {
            title: '登录账号',
            dataIndex: 'account',
            width: '10%'
        },
        {
            title: '登录密码',
            dataIndex: 'mobile',
            width: '10%',
        },
        {
            title: '个人编号',
            dataIndex: 'regNumber',
            width: '10%',
        },
        {
            title: '姓名',
            dataIndex: 'name',
            width: '10%',
        },
        {
            title: '身份证号',
            dataIndex: 'bodyCode',
            width: '8%',
        }
    ];
}
export default {
    getSearchInputConfig,
    getTableConfig
}